package com.concurrent.water.machine;

import java.util.concurrent.TimeUnit;

/**
 * 机器
 */
public class DefaultMachine implements Machine {
    /**
     * 第一个单元格
     */
    private final ICell cellA;
    /**
     * 第二个单元格
     */
    private final ICell cellB;

    public DefaultMachine(ICell cellA, ICell cellB) {
        this.cellA = cellA;
        this.cellB = cellB;
    }

    @Override
    public void userUseCellA(User user, TimeUnit timeUnit, long timeValue) {
    }

    @Override
    public void userUseCellB(User user, TimeUnit timeUnit, long timeValue) {
    }
}
